package com.ruoyi.vbze.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采样点对象 sample_point
 * 
 * @author vbze
 * @date 2023-02-27
 */
public class SamplePoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采样点id */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String pointName;

    /** 标签 */
    @Excel(name = "标签")
    private String label;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 标记日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "标记日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date markDate;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPointName(String pointName) 
    {
        this.pointName = pointName;
    }

    public String getPointName() 
    {
        return pointName;
    }
    public void setLabel(String label)
    {
        this.label = label;
    }

    public String getLabel()
    {
        return label;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setMarkDate(Date markDate) 
    {
        this.markDate = markDate;
    }

    public Date getMarkDate() 
    {
        return markDate;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointName", getPointName())
            .append("label", getLabel())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("markDate", getMarkDate())
            .append("description", getDescription())
            .toString();
    }
}
